﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="AddFund.aspx.cs" Inherits="WebApplication1.AddFund" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table>
    <tr>
    <td>
    </td>
    <td>
    <asp:Label ID="Label6" runat="server" Text="Title"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="txtFundTitle" runat="server" style="margin-left: 8px" 
    Width="365px" Height="24px"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
    <asp:Label ID="Label7" runat="server" Text="Description"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="txtFundDescription" runat="server" style="margin-left: 10px" 
    TextMode="MultiLine" Width="368px" Height="74px"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
    
<asp:Label ID="Label8" runat="server" Text="Donated By"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="txtFundDonatedBy" runat="server" style="margin-left: 12px" 
    Width="361px"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
    
<asp:Label ID="Label9" runat="server" Text="Purpose"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="txtFundPurpose" runat="server" style="margin-left: 12px" 
    TextMode="MultiLine" Width="368px" Height="62px"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
    <asp:Label ID="Label10" runat="server" Text="Value"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="txtFundValue" runat="server" style="margin-left: 13px"></asp:TextBox>
        <asp:CompareValidator ID="cvFundValue" runat="server" 
            ControlToValidate="txtFundValue" ErrorMessage="This should be numeric Value" 
            ondatabinding="btnFundAdd_Click" Operator="DataTypeCheck" 
            ToolTip="Please enter a numeric Value" Type="Double"></asp:CompareValidator>
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
    <asp:Button ID="btnFundAdd" runat="server" style="margin-left: 86px" 
    Text="Add Fund" onclick="btnFundAdd_Click" />
    </td>
    <td>
    <asp:Button ID="btnFundCancel" runat="server" style="margin-left: 77px" 
    Text="Cancel" />
    </td>
    </tr>
    </table>
</asp:Content>
